package com.smh.a05ObjectClassDemo5;

import java.util.Scanner;

public class IntegerDemo4 {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
//        Integer i = scanner.nextInt();
//        System.out.println(i);

        String s = scanner.nextLine();
        String s1 = scanner.nextLine();

        System.out.println(Integer.parseInt(s)+Integer.parseInt(s1));

//

    }
}
